﻿using Zdap.Common;

namespace Datav.Design.IService
{
    /// <summary>
    ///
    /// </summary>
    public interface IAIConfigService
    {
        /// <summary>
        ///
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        //Task<SaveConfigDto> GetById(long id);

        ///// <summary>
        ///// 保存配置
        ///// </summary>
        ///// <param name="dto"></param>
        ///// <param name="currentUser"></param>
        ///// <returns></returns>
        //void SaveConfig(SaveConfigDto dto, UserTicket currentUser);

        /// <summary>
        /// 搜索回复内容
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="currentUser"></param>
        /// <returns></returns>
        Task<ReplayContentDto> SearchReplayContent(long ProjectId, string keyword, UserTicket currentUser);

        /// <summary>
        /// 是否显示AI助手
        /// </summary>
        /// <param name="currentUser"></param>
        /// <returns></returns>
        Task<bool> ShowAIAssistant(UserTicket currentUser);
    }
}